package com.bbchond.service;

import java.util.List;

import com.bbchond.pojo.*;

public interface UserService {

	public List<User> getUsers();
	public List<BBSTopic> getBBSTopics();
	public UserPunch getUserPunch(String userAccount);
	public UserVerify getUserVerify(UserVerify userVerify);
	public int UserRegister(User user);
	public int updatePassword(User user);
	public List<BBSReply> getBBSReply(int id);
	public int ReplyPost(BBSReply bbsReply);
	public User getUserName(String userAccount);
	public int BBSPost(BBSTopic bbsTopic);
	public List<BBSTopic> getCharge();
	public Card getCardInfo(String userAccount);
	public int registCard(PickCard pickCard);
	public int lostCard(String userAccount);
	public List<CardCost> cardCost(String userAccount, String date);
	public List<PickCard> getLostCard();
	public List<PickCard> getLostCardByAccount(String userAccount);
	public List<DorScore> getScoreInfoByAccount(String userAccount);
	public int addFeedbackInfo(FeedBack feedBack);
	public int addPlaceChange(ChangePlace changePlace);
	public int addCheckIn(CheckInInfo checkInInfo);
	public int addCheckOut(CheckOutInfo checkOutInfo);
	public int addDetentionInfo(DetentionInfo detentionInfo);


	/**
	 * 云课堂部分后台接口
	 * @return 用于逻辑判断是否操作成功
	 */
	public List<VideoInfo> getVideoInfos();
	public List<VideoInfo> getGoodVideoInfo();
	public List<VideoInfo> getGoodVideoInfoByType(String typeName);
	public List<VideoReply> getReplyInfo(int videoId);
	public VideoInfo getVideoInfo(int videoId);
	public ClassUser userVerify(ClassUser classUser);
	public ClassUser userInfo(String userAccount);
	public Teacher teacherInfo(String teacherName);
	public List<Teacher> getAllTeacherInfo();
	public int videoReplyPost(VideoReply videoReply);
	public int repairPost(RepairInfo repairInfo);
	public int classRegister(ClassUser classUser);
	public int updateClassUser(ClassUser classUser);
	public List<UserCollection> getCollectionInfo(String userAccount);
	public int addCollectionInfo(UserCollection collection);
	public int cancelCollectionInfo(UserCollection collection);
	public int addCartInfo(UserCart userCart);
	public List<VideoInfo> getCartVideo(String userAccount);
	public UserCollection isCollection(UserCollection userCollection);
	public UserCart isInCart(UserCart userCart);
	public List<VideoInfo> getCollectionVideo(String userAccount);
	public List<OderInfo> getOrderInfo(String userAccount);
	public StuInfo getStuInfo(String userAccount);
	public int addClassFeedBack(ClassFeedBack classFeedBack);

	/**
	 * 红木家具App后台系统
	 */
	public List<KnowInfo> getKnowInfo();
	public List<RedWood> getRedWoodInfo();
	public List<BrandInfo> getBrandInfo();
	public List<FurnitureItem> getFurniture();
	public FurnitureCollection isInCollection(FurnitureCollection collection);
	public List<FurnitureCollection> getFurnitureCollectionInfo(String userAccount);
	public int addFurnitureCollectionInfo(FurnitureCollection collection);
	public int cancelFurnitureCollectionInfo(FurnitureCollection collection);
	public int furnitureRegister(FurnitureUser user);
	public FurnitureUser getUserInfoByName(String userAccount);
	public int updateUserInfo(FurnitureUser user);
	public int addOrderInfo(FurnitureOrder order);
}
